package com.cosc716.restaurant.commands.Tables;

import com.cosc716.restaurant.commands.Command;
import com.cosc716.restaurant.domain.Table;
import com.cosc716.restaurant.system.Aggregator;

public class CommandUnSeatCustomerGroup implements Command {
	
	private Table table;
	
	public CommandUnSeatCustomerGroup(Table table) {
		super();
		this.table = table;
	}


	@Override
	public Object execute(Aggregator aggregator) {
		Boolean status;
		table.clearTable();
		status = new Boolean(true);
		return status;
	}

}
